using Godot;
using System;

public partial class Obstacle : Area2D
{
    // 检查进入物体是否为小鸟
    private void OnBodyEntered(Node body)
    {
        if (body is Bird)
        {
            Logger.SMsg("Obstacle entered");
            
        }
    }
}
